package com.example.administrator.zhongyichou.activity;

import android.os.Bundle;

import com.example.administrator.zhongyichou.Bean.BaseEventBean;
import com.example.administrator.zhongyichou.R;
import com.example.administrator.zhongyichou.base.BaseActivity;
import com.example.administrator.zhongyichou.net.core.HttpLoader;
import com.example.administrator.zhongyichou.net.protocol.GsonBaseProtocol;

import butterknife.BindView;
import butterknife.ButterKnife;
import uk.co.senab.photoview.PhotoView;

/**
 * Created by lichenyu on 2017/12/12.
 * 描述：
 */

public class PhotoViewActivity extends BaseActivity {
    @BindView(R.id.photo_view)
    PhotoView photoView;

    @Override
    protected void init() {
        ButterKnife.bind(this);
        photoView.setImageResource(getIntent().getIntExtra("id",0));
    }

    @Override
    protected void responseData(GsonBaseProtocol mGsonBaseProtocal) {

    }

    @Override
    protected HttpLoader initHttpLoader() {
        return null;
    }

    @Override
    protected int initContentView() {
        return R.layout.photoview_activity;
    }

    @Override
    public boolean onEventBus(BaseEventBean baseEventBean) {
        return false;
    }
}
